<%@page import="java.util.Map"%>
<%@page import="com.ulic.customerManApplication.commonmodule.bo.Menu"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="com.ulic.customerManApplication.usermodule.bo.User"%>
<%@page import="com.ulic.customerManApplication.usermodule.bo.Adminitrator"%>
<%@page import="com.ulic.customerManApplication.usermodule.bo.Role"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="pg"  uri="http://jsptags.com/tags/navigation/pager" %>
<%@page import="java.util.Date"%>
<%@page import="java.util.Set"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.text.SimpleDateFormat"%>

<% 
	User loginUser = (User)request.getSession().getAttribute(CONSTANT.USER_SESSION_KEY);
	String rolename = "";
	if(loginUser!=null){
		rolename = request.getSession().getAttribute("rolename").toString();
	}
%>
<% Adminitrator loginAdmin = (Adminitrator)request.getSession().getAttribute(CONSTANT.ADMIN_SESSION_KEY);%>
<% String url = request.getRequestURL().toString(); %>
<% if(loginUser != null||loginAdmin !=null){ %>
<%@page import="com.ulic.customerManApplication.constant.CONSTANT"%>
<div id="tbBanner" class="clearfix"  style="background:url('<%= request.getContextPath() %>/html/images/top1.jpg') no_repeat;height:64px;">
	<div class="clearfix" id="firstBannerLine" style="height:40px;">
		<div id="tbLogo">
			会员管理系统
		</div>
		<div id="tbUser">
			<ul>
				<li>
					<span>欢迎您:&nbsp;<%= loginUser!=null?loginUser.getReal_Name():"超级管理员"%></span>
				</li>
				<li>
					<span>角色:&nbsp;<%= loginUser!=null?rolename:"超级管理员"%></span>
				</li>
			</ul>
			<span><img src="<%= request.getContextPath() %>/html/images/exit.gif"/>&nbsp;<a href="/um_logout" target="_top">注销用户</a></span>
		</div>
	</div>
</div>
<% } %>